package com.flot.yazb.widget.vitamioPlayer;

import android.os.Handler;

import com.flot.yazb.model.CommentModel;

import java.util.List;


public class PlayVideoPresenterImpl implements PlayVideoPresenter {

    private PlayVideoView view;

    public PlayVideoPresenterImpl(PlayVideoView view) {
        this.view = view;

    }

    @Override
    public void getMedia(String url) {
        view.setLinkUrl(url);
    }

    @Override
    public void closeView() {
        view.closeParentActivity();
    }

}
